<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>修改密码</title>
    <link rel="stylesheet" href="layui\css\layui.css">
    <script type="text/javascript" src="script/jquery-3.3.1.min.js"></script>
    <script type="text/javascript" src="layui\layui.all.js"></script>
    <script type="text/javascript" src="script/modpassword.js"></script>
    
</head>

<body>
    <!-- 隐藏userid -->
    <input type="hidden" id="curuserid">
    
    
    <div class="layui-form-item" id="oldpwdinput">

        <fieldset class="layui-elem-field" style="margin-top: 50px; margin-left: 250px;margin-right: 250px;">
            <legend style="text-align: center;">重置你的密码</legend>
            <div class="layui-field-box" style="padding: 25px;">
                <div style="width: auto;margin: auto;">

                    <!-- <form class="layui-form" action=""> -->

                    <!-- <div class="layui-form-item">  -->
                    <input id="oldpwd" type="password" name="title" required lay-verify="required" placeholder="请输入原密码"
                        autocomplete="off" class="layui-input" style="width: auto;margin: auto;">
                    <!-- </div> -->

                    <!-- <div class="layui-form-item"> -->
                    <button type="button" class="layui-btn layui-btn-radius"
                        style="width: 10%;margin-top: 20px;margin-left: 450px;" id="oldpwdbtn">确认</button>
                    <!-- </div> -->
                    
                    <!-- </form> -->

                </div>

            </div>
        </fieldset>
    </div>
    
    <!-- 修改密码 -->
    <div id="modpwd">
        <fieldset class="layui-elem-field" style="margin-top: 50px; margin-left: 250px;margin-right: 250px;">
            <legend style="text-align: center;">重置你的密码</legend>
            <div class="layui-field-box" style="padding: 25px;">
                <div style="width: auto;margin: auto;">
                    <input id="newpwd1" type="password" name="title" required lay-verify="required" placeholder="请设置新密码"
                        autocomplete="off" class="layui-input" style="width: auto;margin: auto;">

                    <input id="newpwd2" type="password" name="title" required lay-verify="required" placeholder="请确认新密码"
                        autocomplete="off" class="layui-input" style="width: auto;margin: auto;margin-top: 20px;">

                    <button type="button" class="layui-btn layui-btn-radius"
                        style="width: 10%;margin-top: 20px;margin-left: 450px;" id="newpwdbtn">确认</button>
                </div>

            </div>
        </fieldset>
    </div>


</body>

</html>